// Logger.h
#ifndef MYLOGGER_H
#define MYLOGGER_H

#include <fstream>

#define LOGFILE "../log/log.txt"

class Logger {
public:
    std::ofstream fileStream;
    Logger(){
        fileStream.open(LOGFILE, std::ios::app);
    }
    ~Logger() {
        fileStream.close();
    }

    void log(const std::string& message) {
        fileStream << message << std::endl;
    }
};

#endif